package cqrtplm.mapper;

import cqrtplm.entity.RtComSupplierDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface RtComSupplierMapper {

    List<RtComSupplierDO> selectRtComSupplierList(RtComSupplierDO rtComSupplier);

    RtComSupplierDO selectRtComSupplierById(String id);

    RtComSupplierDO selectRtComSupplierByCode(String supplierCode);

    int insertRtComSupplier(RtComSupplierDO rtComSupplier);

    int updateRtComSupplier(RtComSupplierDO rtComSupplier);

    int deleteRtComSupplierById(String id);

    int deleteRtComSupplierByIds(@Param("ids") List<String> ids);
}